//
//  ReportTableViewCell.m
//  HarmonizePub
//
//  Created by Haven on 16/9/27.
//  Copyright © 2016年 Zy. All rights reserved.
//

#import "ReportTableViewCell.h"
#import "CheckRepot.h"
#import "ExamineReport.h"

@interface ReportTableViewCell()

@end

@implementation ReportTableViewCell

+ (NSString *)registerName {
    return @"ReportTableViewCell";
}


- (void)setCheckRepot:(CheckRepot *)checkRepot
{
    _checkRepot = checkRepot;
    self.title.text = _checkRepot.jcxm;
    self.subTitle.text = [_checkRepot.jcsj substringToIndex:10];;
    
}

- (void)setExamineReport:(ExamineReport *)examineReport
{
    _examineReport = examineReport;
    self.title.text = _examineReport.jymc;
    self.subTitle.text = [_examineReport.jysj substringToIndex:10];
}
@end
